﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmManualesPartesVehiculosArticulos.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmManualesPartesVehiculosSistemaArticulos" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxUploadControl" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <script type="text/javascript">
    function soloLetrasNumeros(e) {
        key = e.keyCode || e.which;
        tecla = String.fromCharCode(key).toLowerCase();
        letras = " áéíóúabcdefghijklmnñopqrstuvwxyz1234567890";
        especiales = [0];
        tecla_especial = false
        for (var i in especiales) {
            if (key == especiales[i]) {
                tecla_especial = true;
                break;
            }
        }

        if (letras.indexOf(tecla) == -1 && !tecla_especial) {
            return false;
        }
    }
</script>
<script type="text/javascript">
    function soloLetras(e) {
        key = e.keyCode || e.which;
        tecla = String.fromCharCode(key).toLowerCase();
        letras = " áéíóúabcdefghijklmnñopqrstuvwxyz1234567890";
        especiales = [34, 38, 39, 40, 41, 47, 46, 45, 92];
        tecla_especial = false
        for (var i in especiales) {
            if (key == especiales[i]) {
                tecla_especial = true;
                break;
            }
        }

        if (letras.indexOf(tecla) == -1 && !tecla_especial) {
            return false;
        }
    }
</script>

<script type="text/javascript">
    // <![CDATA[

    function ShowCreateAccount() {
        pcModificarArticulo.Show();
    }


    function ShowCreate() {
        pcNuevoArticulo.Show();

    }

    function ShowUpdate() {
        popupUpdate.Show();

    }


    function ShowError() {
        popupError.Show();
    }




    function ShowOK() {
        popupOK.Show();
    }


    function ShowErrorInsert() {
        popupErrorInsert.Show();
    }
    // ]]> 
    </script>

     <script type="text/javascript">


         function pageLoad() {

             var control = document.getElementById('ctl00_cphMain_hfIndicador');
             cambiarImagenHeader();

             if (control.value == 'S') {
                 $find('<%= ((AjaxControlToolkit.CollapsiblePanelExtender)this.Master.FindControl("cpeMenuGeneral")).BehaviorID %>')._doClose();

                 control.value = 'N';
             }


         }

                

                
               

</script>


    <div class="main-header" style="width:100%">
                <div class="main-titulo">
                    Administración Artículos Sistema</div>
               
</div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    
   
    <div class="content-form">

                  <asp:HiddenField ID="hfIndicador" runat="server" Value="S" />     
                   <table>
                   <tr>
                   <td>
                       <dx:ASPxButton ID="btnNuevo" runat="server" Text="Nuevo" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                           AutoPostBack="False" Width="100px">
                           <ClientSideEvents Click="function(s, e) {
	 pcNuevoArticulo.Show();
}" />
                       </dx:ASPxButton>
                   </td>

                    <td>
                       <dx:ASPxButton ID="btnModificarSubSistema" runat="server" Text="Modificar" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            AutoPostBack="False" onclick="btnModificarArticuloClick" Width="100px">
                       </dx:ASPxButton>
                   </td>
                    <td>
                       <dx:ASPxButton ID="btnAnular" runat="server" Text="Anular" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            onclick="btnAnular_Click" Width="100px">
                       </dx:ASPxButton>
                   </td>
                     <td>
                       <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                             onclick="btnSalir_Click" Width="100px">
                       </dx:ASPxButton>
                   </td>
                   </tr>
           
                </table> 
               
              
                
               
               
              
                 <dx:aspxgridview ID="gvlistado" runat="server" AutoGenerateColumns="False" 
                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                     CssPostfix="Office2010Blue" EnableCallBacks="False" 
                     KeyFieldName="COD_MATERIAL" 
                         onafterperformcallback="gvlistado_AfterPerformCallback" 
                         onfocusedrowchanged="gvlistado_FocusedRowChanged" Width="100%">
                     <Columns>
                         <dx:GridViewDataTextColumn Caption="Código" 
                             FieldName="COD_MATERIAL" VisibleIndex="0" Width="100px" ReadOnly="True">
                             <Settings ShowInFilterControl="False" />
                             <HeaderStyle HorizontalAlign="Center" />
                             <CellStyle HorizontalAlign="Center">
                             </CellStyle>
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Descripción español" FieldName="NOM_MATERIAL_ESP" 
                             ShowInCustomizationForm="True" VisibleIndex="1" Width="250px">
                             <HeaderStyle HorizontalAlign="Center" />
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Descripción ingles" 
                             FieldName="NOM_MATERIAL_INGLES" VisibleIndex="2" Width="200px">
                             <HeaderStyle HorizontalAlign="Center" />
                         </dx:GridViewDataTextColumn>                    
                   
                     </Columns>
                     <SettingsBehavior AllowFocusedRow="True" 
                         ProcessSelectionChangedOnServer="True" 
                         ProcessFocusedRowChangedOnServer="True" />
                     <SettingsPager PageSize="30">
                     </SettingsPager>
                     <Settings ShowFilterRow="True" />

<SettingsBehavior AllowFocusedRow="True" ProcessSelectionChangedOnServer="True" 
                         ProcessFocusedRowChangedOnServer="True"></SettingsBehavior>

<Settings ShowFilterRow="True"></Settings>

                     <images spritecssfilepath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                         <loadingpanelonstatusbar url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </loadingpanelonstatusbar>
                         <loadingpanel url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </loadingpanel>
                     </images>
                     <imagesfiltercontrol>
                         <loadingpanel url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </loadingpanel>
                     </imagesfiltercontrol>
                     <styles cssfilepath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                         csspostfix="Office2010Blue">
                         <header imagespacing="5px" sortingimagespacing="5px">
                         </header>
                         <loadingpanel imagespacing="5px">
                         </loadingpanel>
                     </styles>
                     <stylespager>
                         <pagenumber forecolor="#3E4846">
                         </pagenumber>
                         <summary forecolor="#1E395B">
                         </summary>
                     </stylespager>
                     <styleseditors buttoneditcellspacing="0">
                         <progressbar height="21px">
                         </progressbar>
                     </styleseditors>
                 </dx:aspxgridview>
                 
               
                <dx:ASPxPopupControl ID="pcModificarArticulo" runat="server" Height="264px" 
                    Width="500px" ClientInstanceName="pcModificarArticulo" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" EnableViewState="False" 
                    HeaderText="Modificar Articulos" LoadingPanelText="Cargando&amp;hellip;" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                    AllowDragging="True" CloseAction="CloseButton" Modal="True">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
<Paddings Padding="0px"></Paddings>
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
<BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px"></BorderBottom>
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingLeft="10px" PaddingBottom="4px" PaddingRight="4px" 
                        PaddingTop="4px" />
<Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px"></Paddings>
                    </HeaderStyle>
                    <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
     <div class="content-form">
    


<table cellpadding="0" cellspacing="0">



                            <tr>
                            <td style="width: 204px">
                                &nbsp;</td>
                                <td>
                                   
                                </td>
                            </tr>

                            <tr>
                            <td width="200">
                                <dx:ASPxLabel ID="ASPxLabel1" runat="server" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" Text="Código :">
                                </dx:ASPxLabel>
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                            <td>
                                 <dx:ASPxTextBox ID="txtCodigo" runat="server" ClientEnabled="False" 
                                     Width="300px" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                                     CssPostfix="PlasticBlue" 
                                     SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                     <ValidationSettings>
                                         <ErrorFrameStyle ImageSpacing="4px">
                                             <ErrorTextPaddings PaddingLeft="4px" />
                                         </ErrorFrameStyle>
                                     </ValidationSettings>
                                    </dx:ASPxTextBox>
                                </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>
                             <tr>
                                 <td style="width: 204px">
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                            </tr>
                             <tr>
                            <td style="width: 204px">
                                <dx:ASPxLabel ID="ASPxLabel2" runat="server" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" Text="Descripción  Español :">
                                </dx:ASPxLabel>
                                 </td>
                            <td>
                                <dx:ASPxTextBox ID="txtDescripcion" onkeypress="return soloLetras(event)"  
                                    runat="server" Width="300px" MaxLength="100" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                </dx:ASPxTextBox>
                                 </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>
                             <tr>
                            
                            <td style="width: 204px">
                            
                                &nbsp;</td>
                            <td>
                                 &nbsp;</td>

                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>

                            </tr>
                             <tr>
                            
                            <td style="width: 204px">
                                     <dx:ASPxLabel ID="ASPxLabel6" runat="server" 
                                         CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                         CssPostfix="Office2010Blue" Text="Descripción Ingles :">
                                     </dx:ASPxLabel>
                                 </td>
                                 <td>
                                     <dx:ASPxTextBox ID="txtDescripcionIngles" onkeypress="return soloLetras(event)" 
                                         runat="server" Width="300px" MaxLength="100" 
                                         CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                         CssPostfix="Office2010Blue" 
                                         SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                     </dx:ASPxTextBox>
                                 </td>

                            </tr>

                            <tr>
                                <td style="width: 204px">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>

    </table>
     <table>
                   <tr>
                   <td>
                       &nbsp;</td>

                    <td>
                        &nbsp;</td>
                     <td>
                         &nbsp;</td>
                   </tr>
           
                   <tr>
                       <td>
                           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                       <td>
                           <dx:ASPxButton ID="btnGrabarArticulo" runat="server" AutoPostBack="False" 
                               CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                               CssPostfix="Office2010Blue" OnClick="btnGrabarArticulo_Click" 
                               SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                               Text="Grabar" Width="100px">
                               <ClientSideEvents Click="function(s, e) {
	pcModificarArticulo.Hide();
}" />
                           </dx:ASPxButton>
                           <td></td>
                       </td>
                       <td>
                           <dx:ASPxButton ID="btnSalirModificar" runat="server" 
                               CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                               CssPostfix="Office2010Blue" 
                               SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                               Text="Cancelar" Width="100px">
                               <ClientSideEvents Click="function(s, e) {
	e.processOnServer = true;
    pcModificarArticulo.Hide();

}" />
                           </dx:ASPxButton>
                       </td>
                   </tr>
           
                </table>
    </div>
   </dx:PopupControlContentControl>

</ContentCollection>
   </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="pcNuevoArticulo" runat="server" Height="200px" 
                    Width="500px" ClientInstanceName="pcNuevoArticulo" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" EnableViewState="False" 
                    HeaderText="Nuevo Articulo" LoadingPanelText="Cargando&amp;hellip;" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                    AllowDragging="True" CloseAction="CloseButton" Modal="True">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
<Paddings Padding="0px"></Paddings>
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
<BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px"></BorderBottom>
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingLeft="10px" PaddingBottom="4px" PaddingRight="4px" 
                        PaddingTop="4px" />
<Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px"></Paddings>
                    </HeaderStyle>
                    <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server" 
                            SupportsDisabledAttribute="True">
     <div class="content-form">
   


<table cellpadding="0" cellspacing="0">



                            <tr>
                            <td style="width: 204px">
                                &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>

                            <tr>
                            <td width="200">
                                <dx:ASPxLabel ID="ASPxLabel3" runat="server" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" Text="Código :">
                                </dx:ASPxLabel>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                            <td>
                                <dx:ASPxTextBox ID="txtCodigoNew" onkeypress="return soloLetrasNumeros(event)" 
                                    runat="server" Width="300px" MaxLength="8" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                </dx:ASPxTextBox>
                                </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>
                             <tr>
                                 <td style="width: 204px">
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                            </tr>
                             <tr>
                            <td style="width: 204px">
                                <dx:ASPxLabel ID="ASPxLabel4" runat="server" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" Text="Descripción  Español :">
                                </dx:ASPxLabel>
                                 </td>
                            <td>
                                <dx:ASPxTextBox ID="txtDescripcionNew" onkeypress="return soloLetras(event)"  
                                    runat="server" Width="300px" MaxLength="100" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                </dx:ASPxTextBox>
                                 </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>
                             <tr>
                            
                            <td style="width: 204px">
                            
                                &nbsp;</td>
                            <td>
                                 &nbsp;</td>

                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>

                            </tr>
                             <tr>
                            
                            <td style="width: 204px">
                                     <dx:ASPxLabel ID="ASPxLabel5" runat="server" 
                                         CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                         CssPostfix="Office2010Blue" Text="Descripción Ingles :">
                                     </dx:ASPxLabel>
                                 </td>
                                 <td>
                                     <dx:ASPxTextBox ID="txtDescripcionInglesNew" 
                                         onkeypress="return soloLetras(event)"  runat="server" Width="300px" 
                                         MaxLength="100" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                         CssPostfix="Office2010Blue" 
                                         SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                     </dx:ASPxTextBox>
                                 </td>

                            </tr>

                            <tr>
                                <td style="width: 204px">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>

    </table>
    <br />
      <table>
                   <tr>
                   <td>
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</td>

                    <td>
                        <dx:ASPxButton ID="btnGrabarArticuloNew" runat="server" AutoPostBack="False" 
                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                            CssPostfix="Office2010Blue" OnClick="btnGrabarArticuloNew_Click" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            Text="Grabar" Width="100px">
                            <ClientSideEvents Click="function(s, e) {
	pcNuevoArticulo.Hide();
}" />
                        </dx:ASPxButton>
                       </td>
                    <td>
                        &nbsp;</td>
                     <td>
                       <dx:ASPxButton ID="ASPxButton12" runat="server" Text="Cancelar" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="100px">
                           <ClientSideEvents Click="function(s, e) {
	e.processOnServer = true;
    pcNuevoSistema.Hide();

}" />
<ClientSideEvents Click="function(s, e) {
	e.processOnServer = true;
    pcNuevoArticulo.Hide();

}"></ClientSideEvents>
                       </dx:ASPxButton>
                   </td>
                   </tr>
           
                </table>
    </div>
   </dx:PopupControlContentControl>

</ContentCollection>
   </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="popupOK" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupOK" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
             Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl4" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel5" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent5" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Se agregó&nbsp; correctamente !</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton8" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupOK.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="popupUpdate" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupUpdate" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
             Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel6" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent6" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se actualizo&nbsp;correctamente !</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton13" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupUpdate.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="popupError" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupError" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
             Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl6" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel7" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent7" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Ingrese todos los campos !</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton14" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupError.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="popupErrorInsert" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupErrorInsert" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
             Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl3" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel1" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Ya existe el código material !</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupErrorInsert.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="popupAnularOK" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupAnularOK" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
        Width="300px">
                
                    

                    <loadingpanelimage url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    

                    </loadingpanelimage>
                    

                    <closebuttonstyle>
                    

                    <paddings padding="0px" />
                    

                    </closebuttonstyle>
                    

                    <contentstyle>
                    

                    <borderbottom bordercolor="#E0E0E0" borderstyle="Solid" borderwidth="1px" />
                    

                    </contentstyle>
                    

                    <HeaderStyle>

                    <paddings paddingbottom="4px" paddingleft="10px" paddingright="4px" 
                        paddingtop="4px" />
                    

                    </HeaderStyle>
                    

                    <contentcollection>
                    
                    <dx:PopupControlContentControl ID="PopupControlContentControl9" runat="server" 
                        SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel10" runat="server" DefaultButton="btCreate">
                    <panelcollection>
                        <dx:PanelContent ID="PanelContent10" runat="server">
                        <table>
                        <tr>
                        <td colspan="3">
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ¿Estás seguro de anular este registro ?</td>
                        
                        </tr>
                            <tr>
                                <td colspan="3">
                                   </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    </td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        
                           </td>
                        <td>
                        
                        
                            <dx:ASPxButton ID="btnPopAceptar" runat="server" AutoPostBack="False" 
                                ClientInstanceName="btnPopAceptar" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" OnClick="btnPopAceptar_Click" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="100px">
                                <clientsideevents click="function(s, e) {
	popupAnularOK.Hide();
	e.processOnServer = true;
}" />
                            </dx:ASPxButton>
                        </td>

                        <td>
                            <dx:ASPxButton ID="btnPopCancelar" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Cancelar" 
                                Width="100px">
                                <clientsideevents click="function(s, e) {
	popupAnularOK.Hide();
}" />
                            </dx:ASPxButton>
                          </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </panelcollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
                    
                    </contentcollection>
                    

                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="popupmsj" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupmsj" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
             Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl7" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel8" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent8" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Seleccione un registro !</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton15" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupmsj.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
                   <br />
   



                <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                 <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />                
                <br />                
                <br />                
                <br />           
                 <br />
                <br />
                <br />
                <br />

                </div> 
    </ContentTemplate>
    </asp:UpdatePanel> 
</asp:Content>
